package com.xinbochuang.machine.admin.service;

import java.io.IOException;

import org.springframework.web.multipart.MultipartFile;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinbochuang.machine.admin.domain.Certification;

/**
 *
 * @author 杜文博
 * @date 2020-10-09
 */
public interface ICertificationService extends IService<Certification> {
	/**
	 * 查询资质证书列表
	 * @param certification
	 * @return
	 */
	IPage<Certification> selectList(Certification certification);

	/**
	 * 新增资质证书
	 */
	boolean insertCertification (Certification certification);

	/**
	 * 修改资质证书
	 */
	boolean updateCertification (Certification certification);

	/**
	 * 批量删除资质证书
	 */
	boolean deleteCertification (String uuids);

	Certification getCertById(String uuid);

	/**
	 * 资质文件上传
	 */

	String uploadFile(MultipartFile file) throws IOException;


}
